package com.jic.member.request;

import com.jic.common.base.vo.AdminOperate;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@AllArgsConstructor
@NoArgsConstructor
@Data
@ApiModel("确认保存/保存草稿")
public class TripEntityIdRequest {

    @ApiModelProperty(value = "旅程id",required = true)
    private Long tripId;

    @ApiModelProperty(value = "保存类型 true:确认保存 false: 保存草稿", required = true)
    private Boolean saveType;

    @ApiModelProperty(value = "节点关系JSON", required = true)
    private String lineList;

    @ApiModelProperty(value = "查询类型，1：查询基本信息、2：查看/编辑")
    private Long actionType;

    @ApiModelProperty(value = "节点List")
    private List<BranchNodeListRequest> nodeList;

    @ApiModelProperty(hidden = true)
    private AdminOperate adminOperate;
}
